package exam.bean;

import java.io.Serializable;

/**
 * 学生成绩信息对应类
 */
public class StuInfo implements Serializable {

    private static final long serialVersionUID = 3263795750841119994L;
    //学生姓名
    private String stuName;
    //学生学号
    private String stuId;
    //学生得分
    private int grade;

    public StuInfo() {
    }

    public StuInfo(String stuName, String stuId, int grade) {
        this.stuName = stuName;
        this.stuId = stuId;
        this.grade = grade;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "stuInfo{" +
                "stuName='" + stuName + '\'' +
                ", stuId='" + stuId + '\'' +
                ", grade=" + grade +
                '}';
    }
}
